﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LicensingSystem;

namespace AdminCP
{
    public partial class Login1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnLogin_Click(object sender, EventArgs e)
        {
            if (LicenseSystemManager.LoginSystem(txtUsername.Text, txtPassword.Text))
            {
                System.Diagnostics.Debug.WriteLine("Login ok");
            }
            else
            {
                System.Diagnostics.Debug.WriteLine("Login fail");
            }
        }
    }
}